import Taro, { Component } from '@tarojs/taro'
import { View, Text } from '@tarojs/components'
import './index.scss'
// h5环境下显示
export default class TopBar extends Component {
  constructor (props) {
    super(props)
  }
  render () {
    return (
      <View className='topBar'>
        <Text>{this.props.text}</Text>
      </View>
    )
  }
}
